package main

import (
	"fmt"
	"log"
)

func main() {
	log.Println("main", fmt.Sprint("方法运行"))
	var (
		x = 300
		y = 150
		w = 600
		h = 500
	)
	//初始化表格
	mw := NewMyMainWindow()
	mw.init(x, y, w, h)
	//设置起始坐标
	mw.setStartPoint(100, 100)
	mw.setEndPoint(500, 400)

	//go mw.grid.Print()
	run := mw.run()
	log.Println("退出 :", run)
}
